package com.tbit.main.service.impl;

import com.tbit.main.dao.core.AppointMentDao;
import com.tbit.main.service.AppointMentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 预约service
 *
 */
@Component
public class AppointMentServiceImpl implements AppointMentService {

    @Autowired
    private AppointMentDao appointMentDao;

    @Override
    public void deleteBatchByMachineIds(List<Integer> machineIdList) {
        appointMentDao.deleteBatchByMachineIds(machineIdList);
    }
}
